package com.ssmTest.service;

import com.ssmTest.model.EmploymentAd;

import java.util.List;

public interface IEmploymentAdService {
    //根据id查找
    EmploymentAd selectEmploymentAd(int id);

    //插入信息
    void insertEmploymentAd(EmploymentAd employmentAd);

    //信息列表
    List<EmploymentAd> EmploymentAdList(int toexamine);

    //审核失败原因
    boolean updateInformationReasion(int id, String fail_reasion);

    //更新
    boolean updateEmploymentAd(EmploymentAd employmentAd);

    //关键字查询
     List<EmploymentAd> selectSecondByAndKey(int pagenum,String city,String key);

     List<EmploymentAd> selectSecondByNoKey(int pagenum,String city);
    void delEmployment(int id);

    List<EmploymentAd> selectByPersionalId(int personal_id);
}
